import yaml
import json


with open("../docs/api.yaml", encoding="utf-8") as f:
    res = yaml.load(f, Loader=yaml.FullLoader)


def get_example_by_url(url):
    print(json.dumps(res, indent=4))


if __name__ == '__main__':
    get_example_by_url()
